Release 10.1A: OpenEdge Data Management:
DataServer for Microsoft SQL Server
Monitoring cursor and connection use
Monitor the use of your managed connections to tune the number of connections you allocate. If you regularly exceed your allocation, consider increasing the number of managed connections. If you never use your total allocation, consider decreasing the number of managed connections.
Connections
The DataServer log contains messages indicating the status of connections. At startup, the number of managed connections initialized is written to the log file. If connections are rejected, this is also logged. If a connection from the ODBC connection pool cannot be reused, the ODBC driver issues the message DEAD Connection which is written to the log file.
At the end of a session, the DataServer writes summary information about cursor use. The summary contains the following information:
When debug logging is enabled with the “
-Dsrv qt_debug,cursor” switch, a summary of connection activity is written to the log file. This summary contains:The following excerpt from a
dataserv.lgfile shows the summary of the managed connection activity written when the“-Dsrv qt_debug,cursor”switch is used, plus the standard messages:
For more information on using the
qt_debugoption to the-Dsrvswitch, see Appendix B "Server Related Command Line Utilities and Startup Parameters."Cursor downgrades
Cursor downgrades are monitored by the DataServer, according to the type of cursors in use:
- For firehose cursors, the DataServer counts the number of times a cursor is downgraded, and writes the count to the log file at the end of the session.
Consider increasing the number of DataServer managed connections if firehose cursors are frequently downgraded.
- For downgrades of Fast Forward-Only cursors, a message is written to the log file when the downgrade occurs.
Statement Cache
The reuse of the statement cache is calculated as a ratio. Firehose cursors decrease the probability of a statement being reused. A reuse ratio of 3 indicates that statements are reused an average of 3 times. Reuse ratios of 3 or higher indicate good utilization of the statement cache. Reuse ratios less than 1 indicate poor utilization of the statement cache. If your ratio is less than 1, consider disabling the statement cache with “
-Dsrv PRGRS_PREPCACHE,0”. For more information on thePRGRS_PREPCACHEoption to the-Dsrvswitch, see Appendix B "Server Related Command Line Utilities and Startup Parameters.".
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |